// { "framework": "Vue"} 

/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 3);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */,
/* 1 */,
/* 2 */,
/* 3 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var _app = __webpack_require__(4);

var _app2 = _interopRequireDefault(_app);

var _huayunweex = __webpack_require__(10);

var _huayunweex2 = _interopRequireDefault(_huayunweex);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

// 入口*.vue文件，对象命名为"App"，在编译文件"webpack.common.conf.js"里引用
Vue.use(_huayunweex2.default);
// 引入hy-weex


new Vue(Vue.util.extend({ el: '#root' }, _app2.default));

/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(5)
)
__vue_styles__.push(__webpack_require__(6)
)

/* script */
__vue_exports__ = __webpack_require__(7)

/* template */
var __vue_template__ = __webpack_require__(9)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/huangshangli/workSpace/huayun_weex_template/src/views/app.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-2836ff77"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 5 */
/***/ (function(module, exports) {

module.exports = {
  "flex-row": {
    "flexDirection": "row"
  },
  "flex-fluid": {
    "flexWrap": "wrap"
  },
  "center": {
    "justifyContent": "center",
    "alignItems": "center"
  },
  "column-center-top": {
    "alignItems": "center"
  },
  "column-center-bottom": {
    "justifyContent": "flex-end",
    "alignItems": "center"
  },
  "column-center-left": {
    "justifyContent": "center",
    "alignItems": "flex-start"
  },
  "column-center-right": {
    "justifyContent": "center",
    "alignItems": "flex-end"
  },
  "column-left-top": {
    "alignItems": "flex-start"
  },
  "column-right-top": {
    "alignItems": "flex-end"
  },
  "column-left-bottom": {
    "justifyContent": "flex-end",
    "alignItems": "flex-start"
  },
  "column-right-bottom": {
    "justifyContent": "flex-end",
    "alignItems": "flex-end"
  },
  "row-space-between": {
    "justifyContent": "space-between",
    "alignItems": "center"
  },
  "row-center-top": {
    "justifyContent": "center",
    "alignItems": "flex-start"
  },
  "row-center-bottom": {
    "justifyContent": "center",
    "alignItems": "flex-end"
  },
  "row-center-left": {
    "alignItems": "center"
  },
  "row-center-right": {
    "justifyContent": "flex-end",
    "alignItems": "center"
  },
  "row-left-top": {
    "alignItems": "flex-start"
  },
  "row-right-top": {
    "justifyContent": "flex-end",
    "alignItems": "flex-start"
  },
  "row-left-bottom": {
    "alignItems": "flex-end"
  },
  "row-right-bottom": {
    "justifyContent": "flex-end",
    "alignItems": "flex-end"
  },
  "span1": {
    "flex": 1
  },
  "span2": {
    "flex": 2
  },
  "span3": {
    "flex": 3
  },
  "span4": {
    "flex": 4
  },
  "span5": {
    "flex": 5
  },
  "span6": {
    "flex": 6
  },
  "span7": {
    "flex": 7
  },
  "span8": {
    "flex": 8
  },
  "span9": {
    "flex": 9
  },
  "span10": {
    "flex": 10
  },
  "span11": {
    "flex": 11
  },
  "span12": {
    "flex": 12
  },
  "flex1": {
    "flex": 1
  },
  "flex2": {
    "flex": 2
  },
  "flex3": {
    "flex": 3
  },
  "flex4": {
    "flex": 4
  },
  "flex5": {
    "flex": 5
  },
  "flex6": {
    "flex": 6
  },
  "flex7": {
    "flex": 7
  },
  "flex8": {
    "flex": 8
  },
  "flex9": {
    "flex": 9
  },
  "flex10": {
    "flex": 10
  },
  "flex11": {
    "flex": 11
  },
  "flex12": {
    "flex": 12
  },
  "p-a": {
    "position": "absolute"
  },
  "badges": {
    "backgroundColor": "#ff4e24",
    "width": "50",
    "height": "40",
    "borderRadius": "30",
    "textAlign": "center",
    "color": "#ffffff",
    "paddingTop": "7",
    "fontSize": "24"
  },
  "large-badges": {
    "backgroundColor": "#ff4e24",
    "width": "70",
    "height": "40",
    "borderRadius": "30",
    "textAlign": "center",
    "color": "#ffffff",
    "paddingTop": "7"
  },
  "hy-form-label": {
    "width": "200",
    "fontSize": "35",
    "color": "#999999",
    "lines": 1,
    "textOverflow": "ellipsis"
  },
  "hy-form-input": {
    "flex": 1,
    "fontSize": "35",
    "height": "80"
  },
  "hy-form-switch": {
    "right": "0",
    "backgroundColor": "#FF0000"
  },
  "hy-list": {
    "flex": 1
  },
  "hy-cell": {
    "flexDirection": "row",
    "alignItems": "center",
    "height": "100",
    "borderBottomWidth": "1",
    "borderBottomColor": "#d7dde4",
    "borderBottomStyle": "solid",
    "backgroundColor:active": "#f5f5f5"
  },
  "hy-cell-large": {
    "flexDirection": "row",
    "height": "120",
    "borderBottomWidth": "1",
    "borderBottomColor": "#d7dde4",
    "borderBottomStyle": "solid",
    "backgroundColor:active": "#f5f5f5"
  },
  "hy-cell-swipe-menu": {
    "flexDirection": "row",
    "borderBottomWidth": "1",
    "borderBottomColor": "#d7dde4",
    "borderBottomStyle": "solid"
  },
  "hy-cell-xlarge": {
    "flexDirection": "row",
    "alignItems": "center",
    "height": "140",
    "borderBottomWidth": "1",
    "borderBottomColor": "#d7dde4",
    "borderBottomStyle": "solid",
    "backgroundColor:active": "#f5f5f5"
  },
  "hy-list-left": {
    "flexDirection": "row",
    "justifyContent": "center",
    "alignItems": "center",
    "paddingLeft": "20"
  },
  "hy-list-main": {
    "paddingLeft": "20",
    "flex": 1,
    "justifyContent": "center",
    "backgroundColor": "#ffffff"
  },
  "hy-list-right": {
    "flexDirection": "row",
    "justifyContent": "center",
    "alignItems": "center",
    "paddingRight": "20"
  },
  "hy-list-title": {
    "fontSize": "34",
    "color": "#464c5b",
    "textOverflow": "ellipsis",
    "lines": 1
  },
  "hy-list-subtitle": {
    "fontSize": "30",
    "color": "#9ea7b4",
    "textOverflow": "ellipsis",
    "lines": 1
  },
  "hy-list-thumb": {
    "width": "80",
    "height": "80"
  },
  "hy-list-action": {
    "flexDirection": "row",
    "justifyContent": "center",
    "alignItems": "center",
    "width": "300"
  },
  "hy-loading": {
    "width": "750",
    "height": "150",
    "alignItems": "center",
    "justifyContent": "center",
    "paddingTop": "10",
    "paddingBottom": "10"
  },
  "hy-refresh": {
    "justifyContent": "center",
    "flexDirection": "row",
    "width": "750",
    "height": "100",
    "alignItems": "center",
    "paddingTop": "10",
    "paddingBottom": "10"
  },
  "hy-loading-indicator": {
    "fontSize": "30",
    "textAlign": "center",
    "color": "#9ea7b4"
  },
  "hy-indicator": {
    "height": "60",
    "width": "60",
    "color": "#9ea7b4"
  },
  "hy-list-swipe": {
    "position": "absolute",
    "left": "0",
    "right": "0",
    "top": "0",
    "bottom": "0",
    "flexDirection": "row",
    "justifyContent": "flex-end"
  },
  "hy-list-swipe-btn": {
    "flexDirection": "row",
    "width": "120",
    "alignItems": "center",
    "justifyContent": "center",
    "textAlign": "center",
    "backgroundColor": "#c6c7c8"
  },
  "bgRed": {
    "backgroundColor": "#fa3300"
  },
  "hy-list-swipe-btn-text": {
    "fontSize": "30",
    "color": "#ffffff"
  },
  "hy-list-swipe-main": {
    "flexDirection": "row"
  },
  "hy-list-main-left": {
    "justifyContent": "center",
    "flex": 1
  },
  "hy-list-desc": {
    "fontSize": "25",
    "color": "#464c5b"
  },
  "h1": {
    "fontSize": "80",
    "lineHeight": "120",
    "color": "#464c5b"
  },
  "h2": {
    "fontSize": "60",
    "lineHeight": "100",
    "color": "#464c5b"
  },
  "h3": {
    "fontSize": "45",
    "lineHeight": "60",
    "color": "#464c5b"
  },
  "h4": {
    "fontSize": "32",
    "lineHeight": "45",
    "color": "#464c5b"
  },
  "h5": {
    "fontSize": "28",
    "lineHeight": "40",
    "color": "#464c5b"
  }
}

/***/ }),
/* 6 */
/***/ (function(module, exports) {

module.exports = {
  "name": {
    "marginTop": "40",
    "marginLeft": "45",
    "marginRight": "45"
  },
  "list": {
    "width": "750"
  }
}

/***/ }),
/* 7 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var _util = __webpack_require__(8);

var _util2 = _interopRequireDefault(_util);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var globalEvent = weex.requireModule('globalEvent'); //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

module.exports = {
    data: function data() {
        return {
            longList: [{ type: 'A' }, { type: 'B' }, { type: 'C' }, { type: 'D' }, { type: 'E' }],
            showDialog: false,
            itemList: [{
                url: 'https://gd2.alicdn.com/bao/uploaded/i2/T14H1LFwBcXXXXXXXX_!!0-item_pic.jpg'
            }, {
                url: 'https://gd1.alicdn.com/bao/uploaded/i1/TB1PXJCJFXXXXciXFXXXXXXXXXX_!!0-item_pic.jpg'
            }, {
                url: 'https://gd3.alicdn.com/bao/uploaded/i3/TB1x6hYLXXXXXazXVXXXXXXXXXX_!!0-item_pic.jpg'
            }, {
                url: 'https://gd1.alicdn.com/bao/uploaded/i1/TB1PXJCJFXXXXciXFXXXXXXXXXX_!!0-item_pic.jpg'
            }],
            style: {
                itemColor: '#ffffff',
                itemSelectedColor: '#88ffffff',
                itemSize: 12
            }
        };
    },

    methods: {
        testClick: function testClick() {
            var parm = {
                pageName: 'weexui_tabpage'
            };
            weex.requireModule('event').openView(_util2.default.getSchemeUrl(parm));
        },
        itemClick: function itemClick(index) {
            var modal = weex.requireModule('modal');
            modal.confirm({
                message: '点击了第' + ++index + '项数据',
                duration: 0.3
            }, function (value) {
                console.log('confirm callback', value);
            });
        },

        //图片切换时候的事件
        onChange: function onChange(e) {
            // this.$toast(e);
        },

        //点击图片的事件
        onItemClick: function onItemClick(e, index) {
            this.$toast(index);
        }
    }
};

/***/ }),
/* 8 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


module.exports = {
  getSchemeUrl: function getSchemeUrl(parm) {
    var str = '';
    for (var item in parm) {
      str += item + '=' + encodeURIComponent(parm[item]) + '&';
    }
    return str;
  }
};

/***/ }),
/* 9 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["center"]
  }, [_c('hy-image', {
    staticClass: ["name"],
    staticStyle: {
      backgroundColor: "#b3ff20"
    },
    attrs: {
      "src": "/image/logo.png",
      "width": "120px",
      "height": "120px"
    }
  }), _c('text', {
    staticClass: ["h4", "name"],
    on: {
      "click": function($event) {
        _vm.testClick()
      }
    }
  }, [_vm._v("国网小程序,点我试试跳转到测试页面，下面是个简单的recycle-list的使用")]), _c('hy-icon', {
    attrs: {
      "name": "icon_select"
    }
  }), _c('hy-cell', {
    attrs: {
      "label": "测试",
      "title": "我是标题"
    }
  }, [_c('hy-icon', {
    attrs: {
      "slot": "action",
      "name": "icon_forward"
    },
    slot: "action"
  })], 1), _c('hy-button', {
    attrs: {
      "value": "测试",
      "type": "primary",
      "size": "large"
    }
  }), _c('hy-image-slider', {
    attrs: {
      "imgHeight": "400px",
      "items": _vm.itemList,
      "indicatorStyle": _vm.style
    },
    on: {
      "itemClick": _vm.onItemClick,
      "change": _vm.onChange
    }
  }), _c('recycle-list', {
    staticClass: ["list"],
    appendAsTree: true,
    attrs: {
      "listData": _vm.longList,
      "bindingExpression": "longList",
      "alias": "item",
      "index": "i",
      "append": "tree"
    }
  }, [_c('cell-slot', {
    staticClass: ["center"],
    appendAsTree: true,
    attrs: {
      "append": "tree"
    }
  }, [_c('text', {
    staticClass: ["h5"],
    attrs: {
      "value": [" 我是recycle-list的第", {
        "@binding": "(i)"
      }, "条数据 --------> ", {
        "@binding": "item.type"
      }]
    },
    on: {
      "click": {
        handler: function($$_1, $event) {
          _vm.itemClick($$_1);
        },
        params: [{
          "@binding": "i"
        }]
      }
    }
  })])], 1), _c('hy-dialog', {
    attrs: {
      "height": "300",
      "buttons": "取消,确认"
    },
    model: {
      value: (_vm.showDialog),
      callback: function($$v) {
        _vm.showDialog = $$v
      },
      expression: "showDialog"
    }
  }, [_c('text', {
    attrs: {
      "value": "我是个dialog"
    }
  })])], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 10 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var _util = __webpack_require__(11);

var _util2 = _interopRequireDefault(_util);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/**
 * 框架中常用的工具方法
 */
var modal = weex.requireModule('modal');
var animation = weex.requireModule('animation');
// const navigator = weex.requireModule('navigator');
// const navigatorEx = weex.requireModule("NavigatorExModule");
// const stream = weex.requireModule('stream');


var huayunweex = {
    //components下的组件
    hyGirdImage: __webpack_require__(12),
    hyButton: __webpack_require__(16),
    hyCell: __webpack_require__(20),
    hyDialog: __webpack_require__(24),
    hyIcon: __webpack_require__(28),
    hyImage: __webpack_require__(33),
    hyImageSlider: __webpack_require__(36),
    hyMask: __webpack_require__(40),
    /**
     * 吐司信息
     * @param msg {string} 提示文本
     */
    toast: function toast(msg) {
        if (typeof msg !== 'string') {
            msg = JSON.stringify(msg);
        }
        modal.toast({
            message: msg || "",
            duration: 1
        });
    },


    /**
     * 弹出警告
     * @param msg {string} 提示文本
     * @param callback {function} 点击确定后回调函数
     * @param option {object} 参数
     * @param option.okTitle {string} 确定按钮文本
     */
    alert: function alert(msg, callback, option) {
        var okTitle = "确定";
        if (option) {
            if (option.okTitle) okTitle = option.okTitle;
        }
        if (typeof msg !== 'string') {
            msg = JSON.stringify(msg);
        }
        modal.alert({
            message: msg || "",
            duration: 1,
            okTitle: okTitle
        }, function (value) {
            callback && callback(value);
        });
    },


    /**
     * 弹出确认框
     * @param msg {string} 提示文本
     * @param callback {function} 点击确定/取消后回调函数
     * @param option {object} 参数
     * @param option.okTitle {string} 确定按钮文本
     * @param option.cancelTitle {string} 取消按钮文本
     */
    confirm: function confirm(msg, callback, option) {
        var okTitle = "确定",
            cancelTitle = "取消";
        if (option) {
            if (option.okTitle) okTitle = option.okTitle;
            if (option.cancelTitle) cancelTitle = option.cancelTitle;
        }
        modal.confirm({
            message: msg || "",
            duration: 0.4,
            okTitle: okTitle,
            cancelTitle: cancelTitle
        }, function (value) {
            callback && callback(value);
        });
    },


    /**
     * 显示一个组件（可设置动画）
     * @param params
     * @param callback
     */
    show: function show(params, callback) {
        var el = params.id;
        if (!el) {
            return;
        }
        var duration = params.duration;
        var transform = params.transform || 'translate(0, 0)';
        var transformOrigin = params.transformOrigin || 'center center';
        var timingFunction = params.timingFunction || 'ease';

        animation.transition(el, {
            styles: {
                opacity: '1',
                transform: transform,
                transformOrigin: transformOrigin
            },
            duration: duration || 0,
            timingFunction: timingFunction,
            delay: 0
        }, function () {
            callback && callback();
        });
    },


    /**
     * 隐藏一个组件(可设置动画)
     * @param params
     * @param callback
     */
    hide: function hide(params, callback) {
        var el = params.id;
        if (!el) {
            return;
        }
        var duration = params.duration;
        var transform = params.transform || 'translate(0, 0)';
        var transformOrigin = params.transformOrigin || 'center center';
        var timingFunction = params.timingFunction || 'ease';
        animation.transition(el, {
            styles: {
                opacity: '0',
                transform: transform,
                transformOrigin: transformOrigin
            },
            duration: duration || 0,
            timingFunction: timingFunction,
            delay: 0
        }, function () {
            callback && callback();
        });
    },


    /**
     * 获取当前上下文路径
     * @return {string} 当前上下文路径
     */
    getContextPath: function getContextPath() {
        var url = weex.config.bundleUrl;
        if (url.indexOf('?') > 0) {
            url = url.substring(0, url.indexOf('?'));
        }
        url = url.split('/').slice(0, -1).join('/');
        return url;
    },


    /**
     * 获取页面参数(bundleJS),从url查询参数中获取
     * @method getPageParams
     * @return {object} 返回json数据
     */
    getPageParams: function getPageParams() {
        var params = {};
        var url = weex.config.bundleUrl;
        var index = url.indexOf("?");
        if (index > 0) {
            var query = url.substring(index + 1);
            var temp = query.split('&');
            var key = void 0,
                value = void 0;
            for (var p in temp) {
                if (temp[p]) {
                    key = temp[p].split('=')[0];
                    value = temp[p].split('=')[1];
                    params[key] = decodeURIComponent(value);
                }
            }
        }
        return params;
    },

    /**
     * 适配viewport
     */
    fixViewport: function fixViewport() {
        var _this = buiweex;
        var meta = weex.requireModule('meta');
        var width = 750;

        if (_util2.default.isIPad()) {
            _this.alert(122);
            width = 1280;
        }

        meta.setViewport({
            width: width
        });
    },
    install: function install(Vue, options) {
        var that = huayunweex;
        Vue.mixin({
            components: {
                'hy-gird-image': that.hyGirdImage,
                'hy-button': that.hyButton,
                'hy-cell': that.hyCell,
                'hy-dialog': that.hyDialog,
                'hy-icon': that.hyIcon,
                'hy-image': that.hyImage,
                'hy-image-slider': that.hyImageSlider,
                'hy-mask': that.hyMask

            }
        });

        Vue.prototype.$alert = that.alert;

        Vue.prototype.$toast = that.toast;

        Vue.prototype.$confirm = that.confirm;

        Vue.prototype.$show = that.show;

        Vue.prototype.$hide = that.hide;

        Vue.prototype.$getContextPath = that.getContextPath;

        Vue.prototype.$getPageParams = that.getPageParams;

        Vue.prototype.$formatDate = _util2.default.formatDate;

        Vue.prototype.$isIPad = _util2.default.isIPad();

        Vue.prototype.$isIPhoneX = _util2.default.isIPhoneX();

        Vue.prototype.$isIPhone = _util2.default.isIPhone();

        Vue.prototype.$isAndroid = _util2.default.isAndroid();

        Vue.prototype.$fixStyle = _util2.default.fixStyle();
    }
};

module.exports = huayunweex;

/***/ }),
/* 11 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var util = {
    formatDate: function formatDate(time, format) {
        format = format || "yyyy-MM-dd hh:mm:ss";
        var d = new Date(); //创建时间对象
        var localTime = time; //当地时间戳
        var localOffset = d.getTimezoneOffset() * 60000; //获得当地时间偏移的毫秒数
        var utc = localTime + localOffset; //utc即GMT时间
        var offset = 8; //中国在东8区
        time = utc + 3600000 * offset; //真正的时间戳
        var date = new Date(time);
        var o = {
            "M+": date.getMonth() + 1, //month
            "d+": date.getDate(), //day
            "h+": date.getHours(), //hour
            "m+": date.getMinutes(), //minute
            "s+": date.getSeconds(), //second
            "q+": Math.floor((date.getMonth() + 3) / 3), //quarter
            "S": date.getMilliseconds() //millisecond
        };
        if (/(y+)/.test(format)) format = format.replace(RegExp.$1, (date.getFullYear() + "").substr(4 - RegExp.$1.length));
        for (var k in o) {
            if (new RegExp("(" + k + ")").test(format)) format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length));
        }return format;
    },
    isIPad: function isIPad() {
        return WXEnvironment && WXEnvironment.deviceModel.indexOf('iPad') === 0;
    },
    isIPhoneX: function isIPhoneX() {
        return WXEnvironment && (WXEnvironment.deviceModel === 'iPhone10,3' || WXEnvironment.deviceModel === 'iPhone10,6' || WXEnvironment.deviceModel === 'iPhone11,6');
    },
    isIPhone: function isIPhone() {
        return WXEnvironment && WXEnvironment.platform === 'iOS';
    },
    isAndroid: function isAndroid() {
        return WXEnvironment && WXEnvironment.platform === 'android';
    },

    // 适配
    fixStyle: function fixStyle() {
        var that = util;
        if (that.isIPhoneX()) {
            return {
                borderTopWidth: '80px',
                borderTopStyle: 'solid',
                borderTopColor: '#F39424'
            };
        } else if (that.isIPhone()) {
            return {
                borderTopWidth: '40px',
                borderTopStyle: 'solid',
                borderTopColor: '#F39424'
            };
        } else if (that.isAndroid()) {
            return {};
        } else {
            return {};
        }
    }
};

module.exports = util;

/***/ }),
/* 12 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(13)
)

/* script */
__vue_exports__ = __webpack_require__(14)

/* template */
var __vue_template__ = __webpack_require__(15)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/huangshangli/workSpace/huayun_weex_template/src/components/huayun-grid-image.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-d62c26fa"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 13 */
/***/ (function(module, exports) {

module.exports = {
  "items": {
    "alignItems": "center",
    "backgroundColor:active": "rgba(238,238,238,0.82)"
  },
  "itemLayout": {
    "display": "flex",
    "flexDirection": "row",
    "flexWrap": "wrap"
  }
}

/***/ }),
/* 14 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
//
//
//
//
//
//
//
//
//
//

exports.default = {
    name: "gridImageView",
    props: {
        list: { default: [] },
        iconWidth: {
            default: 90
        },
        iconHeight: {
            default: 90
        },
        lineSpace: {
            default: 90
        },
        borderRadius: { default: 0 },
        nameSize: { default: 28 },
        nameColor: { default: '#919191' },
        nameMarginTop: { default: 12 },
        itemWidth: { default: 234.75 },
        itemMargin: { default: 7.5 }
    }, methods: {
        itemClick: function itemClick(item, index) {
            this.$emit("gridItemClick", item, index);
        }
    }
};

/***/ }),
/* 15 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["itemLayout"],
    style: {
      marginBottom: -_vm.lineSpace
    }
  }, _vm._l((_vm.list), function(item, index) {
    return _c('div', {
      staticClass: ["items"],
      style: {
        width: _vm.itemWidth,
        marginLeft: _vm.itemMargin,
        marginRight: _vm.itemMargin,
        marginBottom: _vm.lineSpace
      },
      on: {
        "click": function($event) {
          _vm.itemClick(item, index)
        }
      }
    }, [_c('hy-image', {
      style: {
        width: _vm.iconWidth,
        height: _vm.iconHeight
      },
      attrs: {
        "src": item.iconUrl
      }
    }), _c('text', {
      style: {
        fontSize: _vm.nameSize,
        color: _vm.nameColor,
        marginTop: _vm.nameMarginTop
      },
      attrs: {
        "value": item.name
      }
    })], 1)
  }))
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 16 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(17)
)

/* script */
__vue_exports__ = __webpack_require__(18)

/* template */
var __vue_template__ = __webpack_require__(19)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/huangshangli/workSpace/huayun_weex_template/src/components/huayun-button.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-1c18c7be"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 17 */
/***/ (function(module, exports) {

module.exports = {
  "btn-block": {
    "alignItems": "center",
    "justifyContent": "center",
    "borderTopLeftRadius": "10",
    "borderTopRightRadius": "10",
    "borderBottomRightRadius": "10",
    "borderBottomLeftRadius": "10",
    "flexDirection": "row"
  },
  "btn-text": {
    "textOverflow": "ellipsis",
    "lines": 1,
    "color": "#FFFFFF"
  }
}

/***/ }),
/* 18 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var STYLE_MAP = {
    default: {
        backgroundColor: '#FFFFFF',
        borderColor: '#A5A5A5',
        borderWidth: '1px'
    },
    text: {
        borderWidth: '0px'
    },
    highlight: {
        backgroundColor: '#FFFFFF',
        borderColor: '#EE9900',
        borderWidth: '1px'
    },
    primary: {
        backgroundColor: '#3399ff',
        borderColor: '#3399ff',
        borderWidth: '1px'
    },
    success: {
        backgroundColor: '#00cc66',
        borderColor: '#00cc66',
        borderWidth: '1px'
    },
    warning: {
        backgroundColor: '#ff9900',
        borderColor: '#ff9900',
        borderWidth: '1px'
    },
    danger: {
        backgroundColor: '#ff4e24',
        borderColor: '#ff4e24',
        borderWidth: '1px'
    }
};

var TEXT_STYLE_MAP = {
    default: {
        color: '#657180'
    },
    text: {
        color: '#657180'
    },
    highlight: {
        color: '#EE9900'
    },
    primary: {
        color: '#ffffff'
    },
    success: {
        color: '#ffffff'
    },
    warning: {
        color: '#ffffff'
    },
    danger: {
        color: '#ffffff'
    }
};

var BTN_SIZE_MAP = {
    small: {
        "width": "200px",
        "height": "60px",
        "padding-left": "10px",
        "padding-right": "10px"
    },
    large: {
        "width": "700px",
        "height": "88px",
        "padding-left": "25px",
        "padding-right": "25px"
    },
    default: {
        // "width": "300px",
        "height": "88px"
        // "padding-left": "25px",
        // "padding-right": "25px"
    }
};
var TEXT_SIZE_MAP = {
    small: {
        "font-size": "24px"
    },
    large: {
        "font-size": "36px"
    },
    default: {
        "font-size": "30px"
    }
};

exports.default = {
    props: {
        size: {
            type: String,
            default: "default"
        },
        value: {
            type: String,
            default: ''
        },
        type: {
            type: String,
            default: 'default'
        },
        disabled: {
            type: Boolean,
            default: false
        },
        btnStyle: Object,
        textStyle: Object
    },
    computed: {
        exBtnStyle: function exBtnStyle() {
            var type = this.type,
                disabled = this.disabled,
                btnStyle = this.btnStyle,
                size = this.size;


            var exBtnStyle = Object.assign(STYLE_MAP[type], BTN_SIZE_MAP[size], btnStyle);
            return disabled ? Object.assign({}, exBtnStyle, {
                backgroundColor: 'rgba(0, 0, 0, 0.1)',
                borderWidth: 0
            }) : exBtnStyle;
        },
        exTextStyle: function exTextStyle() {
            var type = this.type,
                disabled = this.disabled,
                textStyle = this.textStyle,
                size = this.size;

            var exTextStyle = Object.assign(TEXT_STYLE_MAP[type], TEXT_SIZE_MAP[size], textStyle);
            return disabled ? Object.assign({}, exTextStyle, { color: '#ffffff' }) : exTextStyle;
        }
    },
    methods: {
        _click: function _click(e) {
            if (!this.disabled) this.$emit('click', e);
        },
        _longPress: function _longPress(e) {
            if (!this.disabled) this.$emit('longpress', e);
        }
    }
};

/***/ }),
/* 19 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["btn-block"],
    style: _vm.exBtnStyle,
    on: {
      "longpress": _vm._longPress,
      "click": _vm._click
    }
  }, [_vm._t("default"), (_vm.value != '') ? _c('text', {
    staticClass: ["btn-text"],
    style: _vm.exTextStyle
  }, [_vm._v(_vm._s(_vm.value))]) : _vm._e()], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 20 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(21)
)

/* script */
__vue_exports__ = __webpack_require__(22)

/* template */
var __vue_template__ = __webpack_require__(23)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/huangshangli/workSpace/huayun_weex_template/src/components/huayun-cell.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-6d975fde"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 21 */
/***/ (function(module, exports) {

module.exports = {
  "hy-cell": {
    "height": "100",
    "position": "relative",
    "flexDirection": "row",
    "alignItems": "center",
    "paddingLeft": "24",
    "paddingRight": "24",
    "backgroundColor": "#ffffff"
  },
  "cell-margin": {
    "marginBottom": "24"
  },
  "cell-title": {
    "flex": 1
  },
  "has-desc": {
    "paddingBottom": "18",
    "paddingTop": "18"
  },
  "cell-top-border": {
    "borderTopColor": "#eeeeee",
    "borderTopWidth": "1"
  },
  "cell-bottom-border": {
    "borderBottomColor": "#eeeeee",
    "borderBottomWidth": "1"
  },
  "cell-label-text": {
    "fontSize": "30",
    "color": "#666666",
    "width": "188",
    "marginRight": "10"
  },
  "cell-content": {
    "color": "#333333",
    "fontSize": "30",
    "lineHeight": "40"
  },
  "cell-desc-text": {
    "color": "#999999",
    "fontSize": "24",
    "lineHeight": "30",
    "marginTop": "4"
  }
}

/***/ }),
/* 22 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
    props: {
        label: {
            type: String,
            default: ''
        },
        title: {
            type: String,
            default: ''
        },
        desc: {
            type: String,
            default: ''
        },
        hasTopBorder: {
            type: Boolean,
            default: false
        },
        hasMargin: {
            type: Boolean,
            default: false
        },
        hasBottomBorder: {
            type: Boolean,
            default: true
        },
        cellStyle: {
            type: Object,
            default: function _default() {
                return {};
            }
        }
    },
    methods: {
        _cellClick: function _cellClick(e) {
            this.$emit('click', { e: e });
            this.$emit('cellClick', { e: e });
        }
    }
};

/***/ }),
/* 23 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    class: ['hy-cell', _vm.hasTopBorder ? 'cell-top-border' : '', _vm.hasBottomBorder ? 'cell-bottom-border' : '', _vm.hasMargin ? 'cell-margin' : '', _vm.desc ? 'has-desc' : ''],
    style: Object.assign({}, _vm.cellStyle),
    on: {
      "click": _vm._cellClick
    }
  }, [_vm._t("label", [(_vm.label) ? _c('div', [_c('text', {
    staticClass: ["cell-label-text"]
  }, [_vm._v(_vm._s(_vm.label))])]) : _vm._e()]), _c('div', {
    staticClass: ["cell-title"]
  }, [_vm._t("title", [(_vm.title) ? _c('text', {
    staticClass: ["cell-content"]
  }, [_vm._v(_vm._s(_vm.title))]) : _vm._e(), (_vm.desc) ? _c('text', {
    staticClass: ["cell-desc-text"]
  }, [_vm._v(_vm._s(_vm.desc))]) : _vm._e()])], 2), _vm._t("action"), _vm._t("default")], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 24 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(25)
)

/* script */
__vue_exports__ = __webpack_require__(26)

/* template */
var __vue_template__ = __webpack_require__(27)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/huangshangli/workSpace/huayun_weex_template/src/components/huayun-dialog.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-ebf31192"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 25 */
/***/ (function(module, exports) {

module.exports = {
  "huayun-dialog": {
    "position": "fixed",
    "backgroundColor": "#ffffff",
    "borderTopLeftRadius": "10",
    "borderTopRightRadius": "10",
    "borderBottomRightRadius": "10",
    "borderBottomLeftRadius": "10",
    "top": "300",
    "left": "50",
    "right": "50"
  },
  "huayun-dialog-content": {
    "height": "220",
    "paddingTop": "32",
    "paddingLeft": "30",
    "paddingRight": "30",
    "paddingBottom": "32"
  },
  "dialog-action-text": {
    "flex": 1,
    "lineHeight": "90",
    "height": "90",
    "textAlign": "center",
    "fontSize": "32",
    "color": "#3399ff",
    "borderRightWidth": "1",
    "borderRightStyle": "solid",
    "borderRightColor": "#d7dde4",
    "color:active": "#000000",
    "backgroundColor:active": "#e0e0e0"
  },
  "content-title": {
    "color": "#333333",
    "fontSize": "28",
    "textAlign": "center",
    "marginBottom": "24",
    "marginTop": "50"
  },
  "huayun-dialog-footer": {
    "flexDirection": "row",
    "alignItems": "center",
    "justifyContent": "center",
    "height": "90",
    "borderTopWidth": "1",
    "borderTopStyle": "solid",
    "borderTopColor": "#d7dde4"
  }
}

/***/ }),
/* 26 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
    props: {
        height: {
            type: [String, Number],
            default: 200
        },
        top: {
            type: [String, Number],
            default: 300
        },
        title: {
            type: String,
            default: ""
        },
        buttons: {
            type: String,
            default: ""
        },
        value: {
            type: Boolean,
            default: false
        }
    },
    watch: {
        value: function value(val) {
            this.$emit('input', val);
        }
    },
    computed: {
        getButtons: function getButtons() {
            return this.buttons.split(',');
        }
    },
    methods: {
        _click: function _click(text) {
            this.$emit("btnClick", text);
        },
        _maskClick: function _maskClick() {
            this.$emit('input', false);
            this.$emit("maskClick");
        }
    }
};

/***/ }),
/* 27 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return (_vm.value) ? _c('div', [_c('hy-mask', {
    on: {
      "click": _vm._maskClick
    }
  }), _c('div', {
    staticClass: ["huayun-dialog"],
    style: {
      top: _vm.top
    }
  }, [_vm._t("title", [(_vm.title !== '') ? _c('text', {
    staticClass: ["content-title"]
  }, [_vm._v(_vm._s(_vm.title))]) : _vm._e()]), _c('div', {
    staticClass: ["huayun-dialog-content"],
    style: {
      height: _vm.height
    }
  }, [_c('scroller', [_vm._t("default")], 2)]), _vm._t("footer", [(_vm.buttons !== '') ? _c('div', {
    staticClass: ["huayun-dialog-footer"]
  }, _vm._l((_vm.getButtons), function(btn) {
    return _c('text', {
      staticClass: ["dialog-action-text"],
      on: {
        "click": function($event) {
          _vm._click(btn)
        }
      }
    }, [_vm._v(_vm._s(btn))])
  })) : _vm._e()])], 2)], 1) : _vm._e()
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 28 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(29)
)

/* script */
__vue_exports__ = __webpack_require__(30)

/* template */
var __vue_template__ = __webpack_require__(32)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/huangshangli/workSpace/huayun_weex_template/src/components/huayun-icon.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-582cc0b0"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 29 */
/***/ (function(module, exports) {

module.exports = {
  "icon": {
    "textAlign": "center"
  }
}

/***/ }),
/* 30 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

var iconItems = __webpack_require__(31);
var fontFamily = "huaYunIconFont";
var domModule = weex.requireModule("dom");
exports.default = {
  beforeCreate: function beforeCreate() {
    var url = weex.config.bundleUrl;
    var sdkVersion = void 0;
    if (weex.config.env.weexVersion.indexOf("-") !== -1) {
      sdkVersion = weex.config.env.weexVersion.substring(0, weex.config.env.weexVersion.indexOf("-")).replace(/\./ig, '') * 1;
    } else {
      sdkVersion = weex.config.env.weexVersion.replace(/\./ig, '') * 1;
    }
    if (url.indexOf('?') > 0) {
      url = url.substring(0, url.indexOf('?'));
    }
    url = url.split('/').slice(0, -1).join('/');
    if (sdkVersion < 200) {
      if (url.indexOf("file:///") === 0) {
        if (url.indexOf("/") === 0) {
          url = url.substring(url.indexOf("/") + 1);
        }
        url = url.replace('file:///', '');
        url = "local://" + (url === "" ? '' : "/") + url;
      } else if (url.indexOf('wxpage:///') === 0) {
        if (url.indexOf("/") === 0) {
          url = url.substring(url.indexOf("/") + 1);
        }
        url = url.replace('wxpage:///', '');
        url = "file://" + (url === "" ? '' : "/") + url;
      }
    } else {
      if (url.indexOf("file") === 0) {
        if (url.indexOf("/") === 0) {
          url = url.substring(url.indexOf("/") + 1);
        }
        if (url.indexOf('assets') !== -1) {
          url = url.replace('file://assets/', '');
          url = "local://" + (url === "" ? '' : "/") + url;
        }
      }
    }

    url = url + "/font/iconfont.ttf";
    domModule.addRule('fontFace', {
      'fontFamily': fontFamily,
      'src': "url('" + url + "')"
    });
  },

  props: {
    name: {
      type: String,
      defalut: ''
    },
    color: {
      type: String,
      default: '#9ea7b4'
    },
    size: {
      type: [Number, String],
      default: 48
    },
    activeColor: {
      type: String
    }
  },
  computed: {
    getFontName: function getFontName() {
      var icon = iconItems[this.name];
      if (icon === undefined || icon === null || icon === '') {
        return this.name;
      }
      return this.decode(icon || '');
    },
    getStyle: function getStyle() {
      var style = {
        'color': this.color,
        'font-size': this.size,
        'font-family': fontFamily
      };
      if (this.activeColor) {
        style["color:active"] = this.activeColor;
      }
      return style;
    }
  },
  methods: {
    _click: function _click(e) {
      this.$emit("click", e);
    },
    decode: function decode(fontCode) {
      if (/^&#x/.test(fontCode)) {
        return String.fromCharCode(fontCode.replace(/^&#x/, '0x').replace(/;$/, ''));
      } else {
        return String.fromCharCode('0x' + fontCode);
      }
    }
  }
};

/***/ }),
/* 31 */
/***/ (function(module, exports) {

module.exports = {"icon_more":"&#xe60b","icon_select":"&#xe661","icon_forward":"&#xe62e","icon_unselect":"&#xe610","icon_about":"&#xe608","icon_back":"&#xe642"}

/***/ }),
/* 32 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["icon-block"],
    on: {
      "click": function($event) {
        _vm._click($event)
      }
    }
  }, [_c('text', {
    staticClass: ["icon"],
    style: _vm.getStyle,
    on: {
      "click": function($event) {
        _vm._click($event)
      }
    }
  }, [_vm._v(_vm._s(_vm.getFontName))])])
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 33 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* script */
__vue_exports__ = __webpack_require__(34)

/* template */
var __vue_template__ = __webpack_require__(35)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/huangshangli/workSpace/huayun_weex_template/src/components/huayun-image.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 34 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
    computed: {
        imagePath: function imagePath() {
            if (this.src !== "") {
                return this.isHttpFile(this.src) ? this.src : this.getImageUrl(this.src);
            }
        },
        placeholderPath: function placeholderPath() {
            if (this.placeholder !== "") {
                return this.isHttpFile(this.placeholder) ? this.placeholder : this.getImageUrl(this.placeholder);
            }
        }
    },
    props: {
        needClick: {
            type: Boolean,
            default: true
        },
        width: {
            type: String
        },
        height: {
            type: String
        },
        src: {
            type: String
        },
        resize: {
            type: String,
            default: "stretch"
        },
        placeholder: {
            type: String,
            default: ""
        },
        radius: {
            type: [String, Number],
            default: "0px"
        }
    },
    methods: {
        _click: function _click(e) {
            this.$emit('click', e);
        },
        _load: function _load() {
            this.$emit('load');
        },
        isHttpFile: function isHttpFile(path) {
            //http file base64
            return path.indexOf("http") === 0 || path.indexOf("data:image") === 0;
        },
        getImageUrl: function getImageUrl(path) {
            if (path.indexOf("localStorage://") === 0) {
                path = path.replace('localStorage://', "");
                path = "file://" + path;
                return path;
            } else {
                var url = weex.config.bundleUrl;
                var sdkVersion = void 0;
                if (weex.config.env.weexVersion.indexOf("-") !== -1) {
                    sdkVersion = weex.config.env.weexVersion.substring(0, weex.config.env.weexVersion.indexOf("-")).replace(/\./ig, '') * 1;
                } else {
                    sdkVersion = weex.config.env.weexVersion.replace(/\./ig, '') * 1;
                }
                if (url.indexOf('?') > 0) {
                    url = url.substring(0, url.indexOf('?'));
                }
                url = url.split('/').slice(0, -1).join('/');
                if (this.isHttpFile(url)) {
                    return url + path;
                } else {
                    if (url.indexOf("/") === 0) {
                        url = url.substring(url.indexOf("/") + 1);
                    }
                    if (sdkVersion < 200) {
                        if (url.indexOf('file') === 0) {
                            url = url.replace('file:///', '');
                            url = "file:///android_asset" + (url === "" ? '' : "/") + url + path;
                        } else {
                            url = "" + url + path;
                        }
                    } else {
                        if (url.indexOf('file') === 0) {
                            if (url.indexOf('assets') !== -1) {
                                url = url.replace('file://assets/', '');
                                url = "file:///android_asset" + (url === "" ? '' : "/") + url + path;
                            } else {
                                url = "" + url + path;
                            }
                        } else {
                            url = "" + url + path;
                        }
                    }
                    return url;
                }
            }
        }
    }
};

/***/ }),
/* 35 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return (_vm.needClick) ? _c('image', {
    style: {
      'border-radius': _vm.radius,
      'width': _vm.width,
      'height': _vm.height
    },
    attrs: {
      "src": _vm.imagePath,
      "placeholder": _vm.placeholderPath,
      "resize": _vm.resize
    },
    on: {
      "click": function($event) {
        _vm._click($event)
      },
      "load": function($event) {
        _vm._load()
      }
    }
  }) : _c('image', {
    style: {
      'border-radius': _vm.radius,
      'width': _vm.width,
      'height': _vm.height
    },
    attrs: {
      "src": _vm.imagePath,
      "placeholder": _vm.placeholderPath,
      "resize": _vm.resize
    },
    on: {
      "load": function($event) {
        _vm._load()
      }
    }
  })
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 36 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(37)
)

/* script */
__vue_exports__ = __webpack_require__(38)

/* template */
var __vue_template__ = __webpack_require__(39)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/huangshangli/workSpace/huayun_weex_template/src/components/huayun-image-slider.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-ca3f667c"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 37 */
/***/ (function(module, exports) {

module.exports = {
  "indicator": {
    "width": "750",
    "height": "100",
    "position": "absolute",
    "bottom": 0,
    "left": 0,
    "itemColor": "#ffffff",
    "itemSelectedColor": "#747474",
    "itemSize": "20",
    "opacity": 0.8
  }
}

/***/ }),
/* 38 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

exports.default = {
    props: {
        sliderStyle: {
            type: Object,
            default: {
                "width": "750px",
                "height": "400px"
            }
        },
        indicatorStyle: {
            type: Object,
            default: function _default() {
                return {};
            }
        },
        items: {
            type: Array,
            default: function _default() {
                return [];
            }
        },
        interval: {
            type: Number,
            default: 6000 //ms
        },
        autoplay: {
            type: Boolean,
            default: true
        },
        infinite: {
            type: Boolean,
            default: true
        },
        imgResize: {
            type: String,
            default: "stretch"
        },
        imgWidth: {
            type: [Number, String],
            default: 750
        },
        imgHeight: {
            type: [Number, String],
            default: 750
        },
        placeholder: {
            type: String,
            default: ""
        }
    },
    methods: {
        _change: function _change(e) {
            this.$emit("change", e);
        },
        _click: function _click(e, index) {
            this.$emit("itemClick", e, index);
        }
    }
};

/***/ }),
/* 39 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('slider', {
    style: _vm.sliderStyle,
    attrs: {
      "interval": _vm.interval,
      "autoPlay": _vm.autoplay,
      "infinite": _vm.infinite
    },
    on: {
      "change": _vm._change
    }
  }, [_vm._l((_vm.items), function(item, index) {
    return _c('div', {
      key: index
    }, [_c('hy-image', {
      attrs: {
        "width": _vm.imgWidth,
        "resize": _vm.imgResize,
        "height": _vm.imgHeight,
        "placeholder": _vm.placeholder,
        "src": item.url
      },
      on: {
        "click": function($event) {
          _vm._click($event, index)
        }
      }
    })], 1)
  }), _c('indicator', {
    staticClass: ["indicator"],
    style: _vm.indicatorStyle
  })], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ }),
/* 40 */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(41)
)

/* script */
__vue_exports__ = __webpack_require__(42)

/* template */
var __vue_template__ = __webpack_require__(43)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/huangshangli/workSpace/huayun_weex_template/src/components/huayun-mask.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-104af89b"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__


/***/ }),
/* 41 */
/***/ (function(module, exports) {

module.exports = {
  "hy-mask": {
    "position": "fixed",
    "left": 0,
    "right": 0,
    "top": 0,
    "bottom": 0
  }
}

/***/ }),
/* 42 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
//
//
//
//

exports.default = {
    props: {
        rgba: {
            type: [String, Number],
            default: '0.3'
        }
    },
    computed: {
        newRgba: function newRgba() {
            return this.rgba + '';
        }
    },
    methods: {
        _click: function _click() {
            this.$emit("click");
        }
    }
};

/***/ }),
/* 43 */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["hy-mask"],
    style: {
      'background-color': 'rgba(0,0,0,' + _vm.rgba + ')'
    },
    on: {
      "click": _vm._click
    }
  })
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ })
/******/ ]);